package lowijs.XfireClient.event;

import lowijs.XfireClient.IM;

public class SendImEvent extends XfireEvent {
	private String message;

	private byte[] sid;

	private long userid;

	private int imindex;
	
	public SendImEvent(IM im) {
		super(XF_SENDIM);

		this.message = im.getMessage();
		this.sid = im.getSid();
		this.imindex = im.getImindex();
	}
	
	public String getMessage() {
		return message;
	}
	
	public byte[] getSid() {
		return sid;
	}

	public long getUserid() {
		return userid;
	}

	public int getImindex() {
		return imindex;
	}
}
